@echo off
echo ===================================
echo    FinData Admin System Shutdown
echo ===================================
echo.

echo Stopping FinData Admin System...
taskkill /f /im dotnet.exe >nul 2>nul
if %errorlevel% equ 0 (
    echo FinData Admin System stopped
) else (
    echo FinData Admin System not running or failed to stop
)

echo.
echo Stopping MariaDB service...
taskkill /f /im mysqld.exe >nul 2>nul
if %errorlevel% equ 0 (
    echo MariaDB service stopped
) else (
    echo MariaDB service not running or failed to stop
)

echo.
echo All services stopped

pause 